using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;

namespace RA_WebSite.Models.Mapping
{
    public class GradoDiRuggineMap : EntityTypeConfiguration<GradoDiRuggine>
    {
        public GradoDiRuggineMap()
        {

            this.HasKey(t => t.Id);

            this.ToTable("GradoDiRuggine");
            this.Property(t => t.Id).HasColumnName("Id");
            this.Property(t => t.LimiteSuperiore).HasColumnName("LimiteSuperiore");
            this.Property(t => t.LimiteInferiore).HasColumnName("LimiteInferiore");
        }
    }
}
